<% if(request.getParameter("username") != null && request.getParameter("username").equals("admin")){ 

response.sendRedirect("management.jsp");

}%>

<!DOCTYPE html>

<html>

<head>

	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

	<title>Cult Cinema Inc. </title>

	<link rel="stylesheet" href="css/styles.css" type="text/css" media="all" />

	<link rel="stylesheet" href="css/coda-slider.css" type="text/css" media="all" />

	<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>

	<script type="text/javascript" src="js/jquery-ui-1.8.20.custom.min.js"></script>

	<script type="text/javascript" src="js/jquery.coda-slider-3.0.min.js"></script>

	<script type="text/javascript">

		/*

			Movie

			name

			description

			duration

			noOfShowTime

			thumbnailPath

			trailerPath

			

			e.g. {AllMovie[${MovieID}]}

			

			

		*/

		$(document).ready(function(){

			// Importing pages

			//$('#header').load('header.html');

			//$('#footer').load('footer.html');

			//$('#mainNavigationBar').load('mainNavigationBar.html');

			//$('#footer').load('footer.html');

			

			// Control login form

			$("#loginBtn").click(function(){

				$("#loginForm").slideToggle("slow");

			});

		});

				

		$(function(){

			$('#slider-id').codaSlider({

				dynamicArrows: false,

				dynamicTabs: false,

				firstPanelToLoad: 1

			});

		});

    

	</script>

</head>



<body>

<div id="container">

	<!-- Header -->

	<div id="header"><%@ include file="header.jsp"%></div>



	<!-- Navigation Bar -->

	<div id="mainNavigationBar"><%@ include file="ticketOfficerNavigationBar.jsp"%></div>

	

	<div id="loginForm" align="center">

		<form action="#" method="GET">

			<label for="username">User Name: </label>

			<input type="text" name="username" id="username" size="20" maxlength="20">

			<label for="password" style="margin-left="10px">Password: </label>

			<input type="password" name="password" id="password" size="20" autocomplete="off">

			<input type="submit" value="Login">

		</form>

	</div>



	<!-- Content -->

	<div class="coda-slider" id="slider-id">

		<div id="browseMovieShowTime"><%@ include file="browseMovieShowTime.jsp"%></div>
        <div id="authorizeRefundRequest"><%@ include file="authorizeRefundRequest.jsp"%></div>

		<div>


		</div>

	
	</div>

	<div style="clear: both;"></div>





	<!-- Footer -->

	<div id="footer"><%@ include file="footer.jsp"%></div>



</div>

</body>

</html>